package cn.zmwh.im.common.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: dmzmwh
 * @date: 2023-09-24 09:23:11
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class IMUserInfo implements Serializable {

    /**
     * 用户id
     */
    private Long id;

    /**
     * 用户终端类型 IMTerminalType
     */
    private String terminal;

    /**
     * 服务id
     */
    private String serverId;

    public IMUserInfo(Long id, String terminal) {
        this.id = id;
        this.terminal = terminal;
    }

}
